package com.ideaaedi.springcloud.jd.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.ideaaedi.springcloud.jd.commonds.entity.user.po.SysDataScopePO;
import com.ideaaedi.springcloud.jd.commonds.entity.user.vo.req.SysDataScopeListReqVO;
import com.ideaaedi.springcloud.jd.commonds.entity.user.vo.resp.SysDataScopeListRespVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 系统-数据操作范围 Mapper 接口
 * </p>
 *
 * @author <font size = "20" color = "#3CAA3C"><a href="https://gitee.com/JustryDeng">JustryDeng</a></font> <img src="https://gitee.com/JustryDeng/shared-files/raw/master/JustryDeng/avatar.jpg" />
 * @since 2021.0.5.B
 */
@Mapper
public interface SysDataScopeMapper extends BaseMapper<SysDataScopePO> {
    
    /**
     * 查询数据范围信息
     *
     * @param page 分页信息
     * @param req 请求参数
     *
     * @return 数据范围信息集合
     */
    IPage<SysDataScopeListRespVO> list(IPage<?> page, @Param("req") SysDataScopeListReqVO req);
}
